home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / mc51bugs / q32208 < prev    next >
Text File  |  1988-07-20  |  976b  |  35 lines

  1. Q32208 Internal Compiler Error: exphelp.c 1.75, Line 452
  2. C Compiler
  3. 5.10
  4. MS-DOS
  5.  
  6. Summary:
  7.    The code below generates the following internal compiler error:
  8.  
  9. foo.c(10) : fatal error C1001: Internal Compiler Error
  10.                 (compiler file '@(#)exphelp.c:1.75', line 452)
  11.                 Contact Microsoft Technical Support
  12.  
  13.    To work around the problem, make the array a global variable. The
  14. sample code below will not compile even without the internal error
  15. because you cannot allocate more than 32K of local variables; the
  16. sample code attempts to declare about 100K.
  17.    Microsoft has confirmed this to be a problem with Version 5.10 of
  18. the C compiler. We are researching this problem and will post new
  19. information as it becomes available.
  20.  
  21. More Information:
  22.    The following code demonstrates the problem:
  23.  
  24. main()
  25. {
  26.   char  huge a[100000];
  27.   long int i, j;
  28.   i = 0;
  29.   j = a[i];
  30.  
  31. }
  32.  
  33. Keywords:  buglist5.10 qfbv
  34. Updated  88/07/21 03:19
  35.